import request from '@/utils/request'

// 查询报告模版查询参数列表
export function listMarketReportTemplateParameter(query) {
  return request({
    url: '/parameter/marketReportTemplateParameter/list',
    method: 'get',
    params: query
  })
}

// 查询报告模版查询参数详细
export function getMarketReportTemplateParameter(id) {
  return request({
    url: '/parameter/marketReportTemplateParameter/' + id,
    method: 'get'
  })
}

// 保存报告模版查询参数
export function saveMarketReportTemplateParameter(data) {
  return request({
    url: '/parameter/marketReportTemplateParameter/save',
    method: 'post',
    data: data
  })
}

// 删除报告模版查询参数
export function delMarketReportTemplateParameter(id) {
  return request({
    url: '/parameter/marketReportTemplateParameter/' + id,
    method: 'delete'
  })
}

// 导出报告模版查询参数
export function exportMarketReportTemplateParameter(query) {
  return request({
    url: '/parameter/marketReportTemplateParameter/export',
    method: 'get',
    params: query
  })
}
